package com.vf.admin.client.service;

import com.vf.admin.client.enums.PayTypeEnum;
import com.vf.admin.client.result.PayInfoResult;
import com.vf.admin.miaodong.entity.*;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;


public interface AlipayConfigsService {


    /**
     * @param user
     * @param czMoney
     * @return
     */
    String otherAlipayWeb(AppUser user, AppCzMoney czMoney);


    /**
     * 权重支付信息
     *
     * @return
     */
    AlipayConfigs getWeightPlayInfo();

    /**
     * 根据APP_ID获取详情
     *
     * @param appIdStr
     * @return
     */
    AlipayConfigs getAppIdInfo(String appIdStr);


    /**
     * 用于钻石充值 H5
     *
     * @param user
     * @param czMoney
     * @return
     */
    PayInfoResult aliPayDiamondTransactionsH5(AppUser user, AppCzMoney czMoney,String mobileSpec);


    /**
     * 用于会员充值续费 H5
     *
     * @param user
     * @param vipPackage
     * @return
     */
    PayInfoResult aliPayOpenVipTransactionsH5(AppUser user, VipPackage vipPackage,String mobileSpec);

    PayInfoResult aliPayOpenVipTransactionsH511(AppUser user, VipPackage vipPackage, String mobileSpec, PayTypeEnum payTypeEnum, PaySelect paySelect);

    PayInfoResult aliPayOpenVipTransactionsH522(AppUser user, VipPackage vipPackage,String mobileSpec, PaySelect paySelect);

    PayInfoResult aliPayOpenVipTransactionsH533(AppUser user, VipPackage vipPackage, String mobileSpec, PaySelect paySelect);

    PayInfoResult aliPayOpenVipTransactionsH544(AppUser user, VipPackage vipPackage, String mobileSpec, PaySelect paySelect);

    /**
     * @return
     */
    PayInfoResult shopH5(String name, BigDecimal price);


    List<AlipayConfigs> list();

    void openAlipayH5(String id);


}
